package com.company.project.modular.system.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.company.project.modular.system.service.IShareService;
import com.company.project.modular.system.dao.ShareMapper;
import com.company.project.modular.system.model.Share;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lsf
 * @since 2018-10-30
 */
@Service
public class ShareServiceImpl extends ServiceImpl<ShareMapper, Share> implements IShareService {

    @Override
    public List<String> findByMaxNumber() {
        return this.baseMapper.findByMaxNumber();
    }

    @Override
    public List<Map<String,Object>> list(@Param("condition") String condition,@Param("shareState") String shareState){
        return this.baseMapper.list(condition,shareState);
    }

}
